package cn.zhz.service.role;

import cn.zhz.dao.role.RoleMapper;
import cn.zhz.pojo.Role;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class RoleServiceImpl implements RoleService {
    @Resource
    private RoleMapper roleMapper;
    @Override
    public List<Role> getRoleList() {
        return roleMapper.getRoleList();
    }

    @Override
    public int getRoleCount() {
        return roleMapper.getRoleCount();
    }
}
